#ifndef __UPKEYTREAT_H_
#define __UPKEYTREAT_H_

#include "Key.h"

enum InedSetType
{
	e_Null = 0,
	e_SetPage = 1,
	e_RatedPage = 2,
	e_DelayPage = 3,
	e_TimePage = 4,
};

enum SelectedOption
{
	e_SelRated = 1,
	e_SelTime = 2,
	e_SelRelay = 3,
};

typedef struct
{
	uint8_t page_Num;
	uint8_t selected;
	uint16_t rated;
	uint16_t time;
	uint16_t delay;
	uint8_t ratedIndex;
	uint16_t ratedLast;
	uint16_t ratedNext;
	uint8_t updateFlag;
	uint8_t writeEnable;
}Key_CTX_T;

void mEventUpKeyTreat(void);

#endif
